<include file="top" />

<div id="right">
	<h3>文章管理</h3>
	<form method="get" style="margin-left: 40px;">
		栏目：<select name="pid">
			<option value="">请选择</option>
			<volist name="cate" id="cate">
			<option value="<{$cate.id}>"
				<if condition="$b_id eq $cate['id']">selected="selected"</if>
				><{$cate.big_category_name}>
			</option>
			</volist>
		</select>
		<button type="submit">确定</button>
	</form>
	<table width="98%" border="0" class="table">
		<tr class="first">
			<td width="5%">文章id</td>
			<td width="10%">所属分类</td>
			<td width="20%">文章标题</td>
			<td width="10%">更改</td>
			<td width="10%">静态化</td>
			<td width="20%">删除静态化页面</td>
			<td width="10%">删除</td>
			<td width="10%">文章页显示</td>
			<td width="5%">预览</td>
		</tr>
		<volist name="product" id="list">
		<tr id="dele-id-<{$list.id}>">
			<td><{$list.id}></td>
			<td><{$list.cate_data.big_category_name}></td>
			<td><{$list.title}></td>
			<td><a href="__URL__/modify_article/id/<{$list.id}>">更改</a></td>
			<td><a href="javascript:;"
				onclick="deleTip('__URL__/article_statice/id/<{$list.id}>/name/<{$list.plate_data.plate_name}>','dele-id-<{$list.id}>',false)"
				class="sta"><if condition="$list['is_statice'] eq 1">重新静态化<else />静态化</if></a></td>
			<td><a href="javascript:;"
				onclick="deleTip('__URL__/delete_article_statice/id/<{$list.id}>','dele-id-<{$list.id}>',true)">删除静态化页面</a></td>
			<td><a href="javascript:;"
				onclick="deleTip('__URL__/delete_article/id/<{$list.id}>','dele-id-<{$list.id}>',true)">删除</a></td>
			<td><input value="<{$list.asort}>" size="2"
				onblur="$.changeAsort(this,<{$list.id}>,'__URL__/changeAsort')"></td>
			<td><a href="__ROOT__/index.php/Index/article/id/<{$list.id}>"
				target="_blank">预览</a></td>
		</tr>
		</volist>
	</table>


</div>
</body>
</html>